html,
body {
	width: 100%;
	height: 100%;
}

#leftBox {
	width: 60%;
	height: 100%;
	background: #1ca8ef url(../imgs/login-bg.png) no-repeat center;
}

#rightBox {
	width: 40%;
	height: 100%;
	display: flex;
	/* justify-content: center; */
	align-items: center;
}

#loginModal {
	/* position: absolute;
	top: 100%;
	left: 50%;
	transform: translate(-50%, -111%); */
	box-sizing: border-box;
	padding: 30px 20px;
	width: 400px;
	height: 550px;
	background-color: #fff;
	margin: 0 auto;
}
/* logo */
#loginModal #loginModalLogo {
	text-align: center;
}

/* 登录方式 */
#loginModalLoginType {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 30px;
	margin-top: 26px;
	margin-bottom: 30px;
	font-size: 14px;
	text-align: center;
}

#loginModalLoginType a {
	width: 160px;
	height: 40px;
	color: #555;
	line-height: 40px;
}
#loginModalLoginType a.active {
	position: relative;
	color: #00bdff;
}

#loginModalLoginType a.active::after {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translate(-50%);
	content: "";
	display: block;
	width: 30%;
	height: 2px;
	background-color: #00bdff;
}
#loginModalLoginType i {
	display: inline-block;
	width: 2px;
	height: 25px;
	background-color: #eeeeee;
}
/* 表单区 */
#loginUser {
	width: 100%;
	line-height: 40px;
}
#loginUser #loginUsername，#loginUserpassword {
	width: 100%;
	height: 40px;
	border-bottom: 1px solid #e7e7e7;
	line-height: 40px;
}
#loginUsername i {
	display: inline-block;
	width: 30px;
	height: 30px;
	background: url(../imgs/loginIcon.png) no-repeat;
	background-position: -50px 1px;
}
#loginUser p input {
	box-sizing: border-box;
	outline: none;
	border: 1px solid #fff;
}
#loginUserpassword i {
	display: inline-block;
	width: 30px;
	height: 30px;
	background: url(../imgs/loginIcon.png) no-repeat;
	background-position: -25px 4px;
}

/* 忘记密码 */
#forgetPassword {
	width: 100%;
	margin-top: 20px;
	margin-bottom: 18;
	text-align: right;
}
#forgetPassword a {
	font-size: 14px;
	color: #00bdff;
}
#loginUser #loginLink {
	display: block;
	width: 100%;
	height: 45px;
	line-height: 45px;
	font-size: 14px;
	color: #fff;
	background-color: #00bdff;
	outline: none;
	border: 0px;
	text-align: center;
}
/* 注册  */
#loginUser .register {
	width: 100%;
	height: 30px;
	line-height: 30px;
	margin-top: 20px;
	text-align: right;
	color: #909090;
	vertical-align: bottom;
	font-size: 14px;
}
#loginUser .register a {
	color: #00bdff;
}
#loginUser .register i {
	display: inline-block;
	width: 20px;
	height: 20px;
	background: url(../imgs/loginIcon.png) no-repeat;
	background-position: -53px -32px;
}
#loginUser span {
	font-size: 14px;
	color: red;
	display: none;
}
#loginUser span.on {
	display: inline-block;
}

/* 二维码登录 */
#QRCode {
	width: 290px;
	height: 240px;
	margin: 0 auto;
}
#QRCode > div {
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	background-color: #fcfcfc;
	border: 1px solid #eeeeee;
	font-size: 14px;
	text-align: center;
}
#QRCode > div img {
	width: 105px;
	height: 105px;
}
#QRCode > div p:nth-child(2) {
	margin: 14px 0 15px 0;
}
#QRCodeRegister {
	width: 100%;
	height: 30px;
	line-height: 30px;
	margin-top: 20px;
	text-align: left;
	color: #909090;
	vertical-align: bottom;
	font-size: 14px;
}
#QRCodeRegister a {
	color: #00bdff;
}
#QRCodeRegister i {
	display: inline-block;
	width: 20px;
	height: 20px;
	background: url(../imgs/loginIcon.png) no-repeat;
	background-position: -53px -32px;
}
#loginModal form {
	display: none;
}
#loginModal form.on {
	display: block;
}
